package org.spring.cloud.stream.guide.springcloudstreamguide.tut1;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.cloud.stream.messaging.Sink;

public class Tut1Receiver {
	
	@Autowired
	private Sink sink;
	
	@StreamListener(Sink.INPUT)
	public void receiver(){
		
	}

	public Sink getSink() {
		return sink;
	}

	public void setSink(Sink sink) {
		this.sink = sink;
	}

}
